package com.bluefox.modules.system.repository;

import com.bluefox.modules.system.domain.SysConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.awt.print.Pageable;
import java.util.stream.Stream;


public interface SysConfigRepository extends JpaRepository<SysConfig, Long> {

    @Query("select s from SysConfig s")
    Stream<SysConfig> findAllByCustomQueryAndStream(Pageable pageable);
}
